package org.shoukaiseki.test.spring.multiple.datasource.config.mappers;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.shoukaiseki.test.spring.multiple.datasource.config.annotation.DataSourceTwo;

@Mapper
@DataSourceTwo//使用数据源二
public interface TwoMapper {
	@Select("select concat(DATABASE(),' ',VERSION()) as v from dual")
    String getVersion();

    String showDataBase();
}
